﻿Imports System
Imports sonicERPinfo
Imports System.Web.UI

Public Class MasterBase
    Inherits System.Web.UI.MasterPage

    Public Sub New()

        _sessausuario = CType(HttpContext.Current.Session("sessaousuario"), Tabelainfo)

        HttpContext.Current.Session("sessaousuario") = CType(_sessausuario, Tabelainfo)

    End Sub


    Private _sessausuario As New Tabelainfo
    Public Property sessaousuario() As Tabelainfo
        Get

            _sessausuario = CType(HttpContext.Current.Session("sessaousuario"), Tabelainfo)

            Return _sessausuario
        End Get
        Set(ByVal value As Tabelainfo)
            _sessausuario = value
        End Set
    End Property



End Class
